<!DOCTYPE html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>树形菜单示例</title>
    <link rel="stylesheet" href="../../javascript/SwitchTree/css.css">


</head>
<body>
<div class="warp">
    <ul id="container">
    </ul>
</div>


<script type="text/javascript">

    //结构
    var json={
        '0-0':{
            '0-0-0':null,
            '0-0-1':{
                '0-0-1-0':null,
                '0-0-1-1':null,
                '0-0-1-2':null
            },
            '0-0-2':null
        },
        '0-1':{
            '0-1-0':null,
            '0-1-1':null
        },
        '0-2':null
    };


</script>
<script src="../../javascript/SwitchTree/js.js"></script>
</body>
</html>